package com.xiaoke.liantongdemo.bean;

import java.io.Serializable;
import java.util.Arrays;

import com.xiaoke.liantongdemo.widget.BusinessInputLayout;

public class BusinessInput implements Serializable{
	
	private String name;
	private int type;
	private String desc;
	private int maxLength;
	private String[] values;
	private String input;
	
	private transient BusinessInputLayout businessInputLayout;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public int getMaxLength() {
		return maxLength;
	}
	public void setMaxLength(int maxLength) {
		this.maxLength = maxLength;
	}
	public String[] getValues() {
		return values;
	}
	public void setValues(String[] values) {
		this.values = values;
	}
	public String getInput() {
		return input;
	}
	public void setInput(String input) {
		this.input = input;
	}
	public BusinessInputLayout getBusinessInputLayout() {
		return businessInputLayout;
	}
	public void setBusinessInputLayout(BusinessInputLayout businessInputLayout) {
		this.businessInputLayout = businessInputLayout;
	}
	
	
	@Override
	public String toString() {
		return "BusinessInput [name=" + name + ", type=" + type + ", desc="
				+ desc + ", maxLength=" + maxLength + ", values="
				+ Arrays.toString(values) + ", input=" + input + "]";
	}



	public interface Type{
		int TEXT = 1;
		int CHOICE = 2;
		int SIGN = 3;
	}

}
